/******************************************
 * Author: Dave Spadea
 * Date: June 2011
 * 
 * This code is released by David Spadea for general consumption 
 * under the Apache Software License.
 * 
 */

package net.spadea.sample.requests;

public class SampleWorkflowEvent extends SampleAppBaseMessage {
	
	/* This event type extends the application-specific subclass of Message, so
	 * it won't need to set the applicationID. Business logic for this workflow type 
	 * would be implemented here.
	 * 
	 * The Message Type configured in the portal should be the name of the class: SampleWorkflowEvent. 
	 * The routes for this message type can then be defined in Message Routes to establish the workflow.
	 * 
	 */
	
	public void setTestKey(String val) {
		
		/* Make sure that val is valid and then set it. */
		set("testkey", val);
	}
	
	public String getTestKey() {
		return (String) get("testkey");
	}
	

}
